package com.zhijie.customer.service.impl;


import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zhijie.base.customer.entity.Customer;
import com.zhijie.base.customer.entity.CustomerhwYearYield;
import com.zhijie.customer.mapper.CustomerMapper;
import com.zhijie.customer.service.ICustomerService;
import com.zhijie.customer.service.ICustomerhwYearYieldService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.io.Serializable;

/**
 * <p>
 * 系统客户信息 服务实现类
 * </p>
 *
 * @author 童志杰
 * @since 2021-01-20
 */
@Service
public class CustomerServiceImpl extends ServiceImpl<CustomerMapper, Customer> implements ICustomerService {

    @Autowired
    private ICustomerhwYearYieldService customerhwYearYieldService;

    @Override
    public Customer getAllById(Serializable id) {
        Customer customer = this.getById(id);
        return customer;
    }
}
